package cn.hzu.mapper;

import cn.hzu.bean.User;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface UserMapper {
    public String selectpswByemail(String email);
    public int insertUser(User user);
    public void updatepsw(String email,String password);
    public void updatestate(String email);
    public void updatestate1(String email);

    public String selectUser();
    public String selectname(String email);
    public String selectsex(String email);
    public String selectphone(String email);
    public String selectnickname(String email);

    public void updateall();
    public void updateuser(String email,String name,String sex,String phone,String nickname);

    public List<User> users();
    public User login_user();
}
